#ifndef TMRADAR_H
#define TMRADAR_H

#include <QObject>
#include <QtNetwork>

class TmRadar : public QObject
{
    Q_OBJECT
public:
    explicit TmRadar(QObject *parent = 0);
    ~TmRadar();

    QString getLocalMac();
    void StartRadar();

private:
    QString m_strMAC;
    QUdpSocket* m_pUdpSever;
    int m_nUdpPort;
signals:

public slots:
    void slot_new_udp();
};

#endif // TMRADAR_H
